list to ienumerable c#

49

convert list to ienumerable -

List<Book> list = new List<Book>();
return list.AsEnumerable();

list to ienumerable c# -

//convert list to ienumerable c#
List<Book> list = new List<Book>();
return list.AsEnumerable();

c# ienumerable to list -

List<object> list = enumerable.ToList();

Comments

Submit
0 Comments